﻿using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace HardcoreGame.Content.Items.Placeable.Machines
{
    public class DryingRack : ModItem
    {
        public override void SetDefaults()
        {
            Item.mech = true;
            Item.value = Item.buyPrice(0, 0, 12, 0);
            Item.width = 26;
            Item.height = 24;
            Item.DefaultToPlaceableTile(ModContent.TileType<Tiles.Machines.DryingRack>());
        }
        public override void AddRecipes()
        {
            CreateRecipe()
                .AddIngredient(ItemID.Wood, 50)
                .AddTile(TileID.WorkBenches)
                .Register();
        }
    }
}
